# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         demo1241
# Description:
# Author:       yzl
# Date:         2019-02-09
#-------------------------------------------------------------------------------


import time

localtime = time.localtime(time.time())
print(time.time()) # 时间戳 ,主要是为了提高程序的性能
print(localtime)
print(localtime.tm_year)
print(localtime.tm_mon)
print(localtime.tm_mday)
print(localtime.tm_yday)
print(time.asctime(time.localtime(time.time()))) # 国际标准时间格式
